home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8444 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  852 b 

  1. Path: isonews.bbn.hp.com!hpbblb!news
  2. From: Matthias Dittrich <matti>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: separate compilation
  5. Date: 4 Mar 1996 10:32:20 GMT
  6. Organization: Hewlett-Packard Co.
  7. Message-ID: <4hegrk$6q7@hpbblb.bbn.hp.com>
  8. References: <1996Mar2.164559.24931@dcs.warwick.ac.uk>
  9. NNTP-Posting-Host: trabant.bbn.hp.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1N (X11; I; HP-UX A.09.07 9000/712)
  14. X-URL: news:1996Mar2.164559.24931@dcs.warwick.ac.uk
  15.  
  16. Write a header file for file2. It has to contain the definition of the
  17. structure. Include this file at the begin of all files instead using this
  18. structure of defining the structure in the c-file.
  19. Additional include the header file containing the declaration of malloc
  20. in file2 (it should be stdlib.h).
  21.  
  22. Good luck,
  23. Matthias
  24.  
  25.